package me.flyray.bsin.server.domain._gen;

import java.util.Map;
import java.util.HashMap;
import java.util.Arrays;
import java.util.List;

import java.io.Serializable;

import me.flyray.bsin.server.domain.SysTenant;

// tell cpd to start ignoring code - CPD-OFF
/**
 *  Systenant: sys_tenant
 */
@SuppressWarnings({"PMD"})
public class _SysTenant implements Serializable{
    
    /* 租户id: TENANT_ID VARCHAR */
    public static final String PROP_NAME_tenantId = "tenantId";
    public static final int PROP_ID_tenantId = 1;
    
    /* 租户编号: TENANT_CODE VARCHAR */
    public static final String PROP_NAME_tenantCode = "tenantCode";
    public static final int PROP_ID_tenantCode = 2;
    
    /* 租户名: TENANT_NAME VARCHAR */
    public static final String PROP_NAME_tenantName = "tenantName";
    public static final int PROP_ID_tenantName = 3;
    
    /* 小图标: LOGO VARCHAR */
    public static final String PROP_NAME_logo = "logo";
    public static final int PROP_ID_logo = 4;
    
    /* 描述: REMARK VARCHAR */
    public static final String PROP_NAME_remark = "remark";
    public static final int PROP_ID_remark = 5;
    
    /* 租户类型 0、超级租户 1、普通租户: TYPE INTEGER */
    public static final String PROP_NAME_type = "type";
    public static final int PROP_ID_type = 6;
    
    /* 租户状态 0、正常 1、冻结: STATUS INTEGER */
    public static final String PROP_NAME_status = "status";
    public static final int PROP_ID_status = 7;
    
    /* 创建时间: CREATE_TIME DATETIME */
    public static final String PROP_NAME_createTime = "createTime";
    public static final int PROP_ID_createTime = 8;
    
    /* 修改时间: UPDATE_TIME DATETIME */
    public static final String PROP_NAME_updateTime = "updateTime";
    public static final int PROP_ID_updateTime = 9;
    
    /* 逻辑删除标识：0--未删除 1--已删除: DEL_FLAG INTEGER */
    public static final String PROP_NAME_delFlag = "delFlag";
    public static final int PROP_ID_delFlag = 10;
    

    private static int _PROP_ID_BOUND = 11;

    

    public static final List<String> PK_PROP_NAMES = Arrays.asList(PROP_NAME_tenantId);
    public static final int[] PK_PROP_IDS = new int[]{PROP_ID_tenantId};

    private static final String[] PROP_ID_TO_NAME = new String[11];
    private static final Map<String,Integer> PROP_NAME_TO_ID = new HashMap<>();
    static{
      
          PROP_ID_TO_NAME[PROP_ID_tenantId] = PROP_NAME_tenantId;
          PROP_NAME_TO_ID.put(PROP_NAME_tenantId, PROP_ID_tenantId);
      
          PROP_ID_TO_NAME[PROP_ID_tenantCode] = PROP_NAME_tenantCode;
          PROP_NAME_TO_ID.put(PROP_NAME_tenantCode, PROP_ID_tenantCode);
      
          PROP_ID_TO_NAME[PROP_ID_tenantName] = PROP_NAME_tenantName;
          PROP_NAME_TO_ID.put(PROP_NAME_tenantName, PROP_ID_tenantName);
      
          PROP_ID_TO_NAME[PROP_ID_logo] = PROP_NAME_logo;
          PROP_NAME_TO_ID.put(PROP_NAME_logo, PROP_ID_logo);
      
          PROP_ID_TO_NAME[PROP_ID_remark] = PROP_NAME_remark;
          PROP_NAME_TO_ID.put(PROP_NAME_remark, PROP_ID_remark);
      
          PROP_ID_TO_NAME[PROP_ID_type] = PROP_NAME_type;
          PROP_NAME_TO_ID.put(PROP_NAME_type, PROP_ID_type);
      
          PROP_ID_TO_NAME[PROP_ID_status] = PROP_NAME_status;
          PROP_NAME_TO_ID.put(PROP_NAME_status, PROP_ID_status);
      
          PROP_ID_TO_NAME[PROP_ID_createTime] = PROP_NAME_createTime;
          PROP_NAME_TO_ID.put(PROP_NAME_createTime, PROP_ID_createTime);
      
          PROP_ID_TO_NAME[PROP_ID_updateTime] = PROP_NAME_updateTime;
          PROP_NAME_TO_ID.put(PROP_NAME_updateTime, PROP_ID_updateTime);
      
          PROP_ID_TO_NAME[PROP_ID_delFlag] = PROP_NAME_delFlag;
          PROP_NAME_TO_ID.put(PROP_NAME_delFlag, PROP_ID_delFlag);
      
    }

    
    /* 租户id: TENANT_ID */
    private java.lang.String _tenantId;
    
    /* 租户编号: TENANT_CODE */
    private java.lang.String _tenantCode;
    
    /* 租户名: TENANT_NAME */
    private java.lang.String _tenantName;
    
    /* 小图标: LOGO */
    private java.lang.String _logo;
    
    /* 描述: REMARK */
    private java.lang.String _remark;
    
    /* 租户类型 0、超级租户 1、普通租户: TYPE */
    private java.lang.Integer _type;
    
    /* 租户状态 0、正常 1、冻结: STATUS */
    private java.lang.Integer _status;
    
    /* 创建时间: CREATE_TIME */
    private java.time.LocalDateTime _createTime;
    
    /* 修改时间: UPDATE_TIME */
    private java.time.LocalDateTime _updateTime;
    
    /* 逻辑删除标识：0--未删除 1--已删除: DEL_FLAG */
    private java.lang.Integer _delFlag;
    

    public _SysTenant(){
    }

    protected SysTenant newInstance(){
       return new SysTenant();
    }

    public String orm_entityName() {
      return "me.flyray.bsin.server.domain.SysTenant";
    }

    
    /**
     * 租户id: TENANT_ID
     */
    public java.lang.String getTenantId(){
         //onPropGet(PROP_ID_tenantId);
         return _tenantId;
    }

    /**
     * 租户id: TENANT_ID
     */
    public void setTenantId(java.lang.String value){
        this._tenantId = value;
    }
    
    /**
     * 租户编号: TENANT_CODE
     */
    public java.lang.String getTenantCode(){
         //onPropGet(PROP_ID_tenantCode);
         return _tenantCode;
    }

    /**
     * 租户编号: TENANT_CODE
     */
    public void setTenantCode(java.lang.String value){
        this._tenantCode = value;
    }
    
    /**
     * 租户名: TENANT_NAME
     */
    public java.lang.String getTenantName(){
         //onPropGet(PROP_ID_tenantName);
         return _tenantName;
    }

    /**
     * 租户名: TENANT_NAME
     */
    public void setTenantName(java.lang.String value){
        this._tenantName = value;
    }
    
    /**
     * 小图标: LOGO
     */
    public java.lang.String getLogo(){
         //onPropGet(PROP_ID_logo);
         return _logo;
    }

    /**
     * 小图标: LOGO
     */
    public void setLogo(java.lang.String value){
        this._logo = value;
    }
    
    /**
     * 描述: REMARK
     */
    public java.lang.String getRemark(){
         //onPropGet(PROP_ID_remark);
         return _remark;
    }

    /**
     * 描述: REMARK
     */
    public void setRemark(java.lang.String value){
        this._remark = value;
    }
    
    /**
     * 租户类型 0、超级租户 1、普通租户: TYPE
     */
    public java.lang.Integer getType(){
         //onPropGet(PROP_ID_type);
         return _type;
    }

    /**
     * 租户类型 0、超级租户 1、普通租户: TYPE
     */
    public void setType(java.lang.Integer value){
        this._type = value;
    }
    
    /**
     * 租户状态 0、正常 1、冻结: STATUS
     */
    public java.lang.Integer getStatus(){
         //onPropGet(PROP_ID_status);
         return _status;
    }

    /**
     * 租户状态 0、正常 1、冻结: STATUS
     */
    public void setStatus(java.lang.Integer value){
        this._status = value;
    }
    
    /**
     * 创建时间: CREATE_TIME
     */
    public java.time.LocalDateTime getCreateTime(){
         //onPropGet(PROP_ID_createTime);
         return _createTime;
    }

    /**
     * 创建时间: CREATE_TIME
     */
    public void setCreateTime(java.time.LocalDateTime value){
        this._createTime = value;
    }
    
    /**
     * 修改时间: UPDATE_TIME
     */
    public java.time.LocalDateTime getUpdateTime(){
         //onPropGet(PROP_ID_updateTime);
         return _updateTime;
    }

    /**
     * 修改时间: UPDATE_TIME
     */
    public void setUpdateTime(java.time.LocalDateTime value){
        this._updateTime = value;
    }
    
    /**
     * 逻辑删除标识：0--未删除 1--已删除: DEL_FLAG
     */
    public java.lang.Integer getDelFlag(){
         //onPropGet(PROP_ID_delFlag);
         return _delFlag;
    }

    /**
     * 逻辑删除标识：0--未删除 1--已删除: DEL_FLAG
     */
    public void setDelFlag(java.lang.Integer value){
        this._delFlag = value;
    }
    
}
// resume CPD analysis - CPD-ON
